<?
include 'conn.php';
include_once('inc_head.php');

$title=rq('title');
$series=intval($_POST['smallname']);
$message=addslashes_($_POST['message']);


#######################     数据库        ##################################
	$cmd="insert into ".TABLE_C."vote_question(title,series)";
	$cmd.="values('$title',$series)";
	if(mysql_query($cmd) or die(mysql_error())){
		gourl("成功添加","admin_vote_add.php?sid=$series");
	}
	exit;
?>